# Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
# reserved. Use of this source code is governed by a BSD-style license that
# can be found in the LICENSE file.

# See the included README.md file for usage instructions.

# For VS2022 and Xcode 12+ support.
cmake_minimum_required(VERSION 3.21)

# Only generate Debug and Release configuration types.
set(CMAKE_CONFIGURATION_TYPES Release)
set(CMAKE_SUPPRESS_REGENERATION TRUE)
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE)
set(CMAKE_INSTALL_DEFAULT_TARGETS "")

# Project name.
project(PrjDeadLocks)

include(${CMAKE_CURRENT_LIST_DIR}/Macros.cmake)

add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/TerminateThread/TestDLL)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/TerminateThread/TestExe)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/CriticalSectionDead)